home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 0a | 50 61 74 68 3a 20 69 6e |.lang.c.|Path: in|
|00000020| 31 2e 75 75 2e 6e 65 74 | 21 70 67 68 21 75 73 65 |1.uu.net|!pgh!use|
|00000030| 6e 65 74 0a 46 72 6f 6d | 3a 20 72 6f 6e 61 6c 64 |net.From|: ronald|
|00000040| 20 6d 61 6e 75 65 6c 20 | 3c 72 6d 61 6e 40 6e 61 | manuel |<rman@na|
|00000050| 75 74 69 63 6f 6d 2e 6e | 65 74 3e 0a 53 75 62 6a |uticom.n|et>.Subj|
|00000060| 65 63 74 3a 20 52 65 3a | 20 48 65 6c 70 2c 20 49 |ect: Re:| Help, I|
|00000070| 20 74 68 69 6e 6b 20 77 | 69 74 68 20 61 6e 20 61 | think w|ith an a|
|00000080| 72 72 61 79 0a 53 65 6e | 64 65 72 3a 20 75 73 65 |rray.Sen|der: use|
|00000090| 6e 65 74 40 70 67 68 2e | 6e 61 75 74 69 63 6f 6d |net@pgh.|nauticom|
|000000a0| 2e 6e 65 74 20 28 55 73 | 65 6e 65 74 29 0a 4d 65 |.net (Us|enet).Me|
|000000b0| 73 73 61 67 65 2d 49 44 | 3a 20 3c 44 70 78 74 4b |ssage-ID|: <DpxtK|
|000000c0| 37 2e 43 79 48 40 70 67 | 68 2e 6e 61 75 74 69 63 |7.CyH@pg|h.nautic|
|000000d0| 6f 6d 2e 6e 65 74 3e 0a | 44 61 74 65 3a 20 54 75 |om.net>.|Date: Tu|
|000000e0| 65 2c 20 31 36 20 41 70 | 72 20 31 39 39 36 20 30 |e, 16 Ap|r 1996 0|
|000000f0| 34 3a 32 34 3a 30 37 20 | 47 4d 54 0a 54 6f 3a 20 |4:24:07 |GMT.To: |
|00000100| 6d 61 72 64 61 76 75 79 | 40 61 6c 70 68 61 32 2e |mardavuy|@alpha2.|
|00000110| 63 73 64 2e 75 77 6d 2e | 65 64 75 0a 58 2d 4e 6e |csd.uwm.|edu.X-Nn|
|00000120| 74 70 2d 50 6f 73 74 69 | 6e 67 2d 48 6f 73 74 3a |tp-Posti|ng-Host:|
|00000130| 20 32 35 2e 6e 65 74 38 | 2e 6e 61 75 74 69 63 6f | 25.net8|.nautico|
|00000140| 6d 2e 6e 65 74 0a 43 6f | 6e 74 65 6e 74 2d 54 72 |m.net.Co|ntent-Tr|
|00000150| 61 6e 73 66 65 72 2d 45 | 6e 63 6f 64 69 6e 67 3a |ansfer-E|ncoding:|
|00000160| 20 37 62 69 74 0a 43 6f | 6e 74 65 6e 74 2d 54 79 | 7bit.Co|ntent-Ty|
|00000170| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|00000180| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|00000190| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 34 6b |.Referen|ces: <4k|
|000001a0| 62 68 63 6c 24 70 34 6c | 40 75 77 6d 2e 65 64 75 |bhcl$p4l|@uwm.edu|
|000001b0| 3e 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |>.Mime-V|ersion: |
|000001c0| 31 2e 30 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |1.0.X-Ma|iler: Mo|
|000001d0| 7a 69 6c 6c 61 20 31 2e | 31 4e 20 28 57 69 6e 64 |zilla 1.|1N (Wind|
|000001e0| 6f 77 73 3b 20 49 3b 20 | 31 36 62 69 74 29 0a 4f |ows; I; |16bit).O|
|000001f0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 4e 61 75 |rganizat|ion: Nau|
|00000200| 74 69 63 6f 6d 20 2d 20 | 49 6e 74 65 72 6e 65 74 |ticom - |Internet|
|00000210| 20 41 63 63 65 73 73 20 | 50 72 6f 76 69 64 65 72 | Access |Provider|
|00000220| 0a 0a 49 20 68 61 76 65 | 20 74 6f 20 70 61 73 73 |..I have| to pass|
|00000230| 20 61 6e 20 61 72 72 61 | 79 20 74 6f 20 61 20 66 | an arra|y to a f|
|00000240| 75 6e 63 74 69 6f 6e 20 | 75 73 69 6e 67 20 63 61 |unction |using ca|
|00000250| 6c 6c 20 62 79 20 72 65 | 66 65 72 65 6e 63 65 2e |ll by re|ference.|
|00000260| 20 20 49 74 27 73 20 61 | 20 0a 70 72 6f 67 72 61 | It's a| .progra|
|00000270| 6d 20 74 68 61 74 20 61 | 6c 6c 6f 77 73 20 61 73 |m that a|llows as|
|00000280| 20 6d 61 6e 79 20 70 6c | 61 79 65 72 73 20 74 6f | many pl|ayers to|
|00000290| 20 70 6c 61 79 20 61 20 | 67 61 6d 65 20 6f 66 20 | play a |game of |
|000002a0| 72 65 76 65 72 73 65 2e | 20 49 27 6d 20 74 6f 20 |reverse.| I'm to |
|000002b0| 0a 70 6c 61 63 65 20 72 | 61 6e 64 6f 6d 20 6e 75 |.place r|andom nu|
|000002c0| 6d 62 65 72 73 20 69 6e | 74 6f 20 61 20 61 72 72 |mbers in|to a arr|
|000002d0| 61 79 2c 20 6d 61 6b 69 | 6e 67 20 73 75 72 65 20 |ay, maki|ng sure |
|000002e0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 64 75 70 6c |there is| no dupl|
|000002f0| 69 63 61 74 65 20 69 73 | 20 69 6e 20 0a 74 68 65 |icate is| in .the|
|00000300| 20 61 72 72 61 79 2e 20 | 20 54 68 65 20 70 6c 61 | array. | The pla|
|00000310| 79 65 72 20 69 73 20 70 | 72 65 73 65 6e 74 65 64 |yer is p|resented|
|00000320| 20 61 20 6c 69 73 74 20 | 6f 66 20 6e 75 6d 62 65 | a list |of numbe|
|00000330| 72 73 20 6f 75 74 20 6f | 66 20 74 68 65 20 61 72 |rs out o|f the ar|
|00000340| 72 61 79 20 61 6e 64 20 | 0a 69 73 20 74 6f 20 72 |ray and |.is to r|
|00000350| 65 76 65 72 73 65 20 74 | 68 65 20 6e 75 6d 62 65 |everse t|he numbe|
|00000360| 72 73 20 75 6e 74 69 6c | 20 74 68 65 69 72 20 69 |rs until| their i|
|00000370| 6e 20 6f 72 64 65 72 2e | 20 0a 0a 31 2e 20 49 20 |n order.| ..1. I |
|00000380| 6e 65 65 64 20 61 73 73 | 69 73 74 61 6e 63 65 20 |need ass|istance |
|00000390| 69 6e 20 63 6f 6d 70 61 | 72 69 6e 67 20 65 61 63 |in compa|ring eac|
|000003a0| 68 20 65 6c 65 6d 65 6e | 74 20 74 6f 20 6d 61 6b |h elemen|t to mak|
|000003b0| 65 20 73 75 72 65 20 74 | 68 65 72 65 27 73 20 6e |e sure t|here's n|
|000003c0| 6f 74 20 61 20 0a 20 20 | 20 64 75 70 6c 69 63 61 |ot a . | duplica|
|000003d0| 74 65 20 6e 75 6d 62 65 | 72 20 69 6e 20 74 68 65 |te numbe|r in the|
|000003e0| 20 61 72 72 61 79 2e 0a | 0a 32 2e 20 20 52 65 76 | array..|.2. Rev|
|000003f0| 65 72 73 69 6e 67 20 74 | 68 65 20 6e 75 6d 62 65 |ersing t|he numbe|
|00000400| 72 73 20 63 68 6f 73 65 | 6e 20 62 79 20 74 68 65 |rs chose|n by the|
|00000410| 20 70 6c 61 79 65 72 20 | 69 6e 20 74 68 65 20 61 | player |in the a|
|00000420| 72 72 61 79 2e 0a 0a 33 | 2e 20 20 43 68 65 63 6b |rray...3|. Check|
|00000430| 69 6e 67 20 74 68 65 20 | 61 72 72 61 79 20 74 6f |ing the |array to|
|00000440| 20 73 65 65 20 69 66 20 | 74 68 65 20 70 6c 61 79 | see if |the play|
|00000450| 65 72 20 77 6f 6e 3b 20 | 77 68 65 6e 20 74 68 65 |er won; |when the|
|00000460| 20 6e 75 6d 62 65 72 73 | 20 61 61 72 65 20 69 6e | numbers| aare in|
|00000470| 20 0a 20 20 20 20 6f 72 | 64 65 72 2e 0a 0a | . or|der... |
+--------+-------------------------+-------------------------+--------+--------+